<template>
	<div class="header">
		<div class="header-left">
			<span class="iconfont">&#xe638;</span>
		</div>
		<div class="header-input"><span class="iconfont">&#xe618;</span>输入城市景点游玩主题</div>
		<div class="header-right">{{city}}<span class="iconfont arrow-icon">&#xe621;</span></div>
	</div>
</template>

<script>
export default {
	name: 'HomeHeader',
	props: {
		city: String
	},
}
</script>

<style lang="stylus" scoped>
/*~@代表src目录*/
    @import '~styles/variables.styl'
	.header
		display: flex
		line-height: .86rem
		background-color: $bgColor
		color: #fff
		clear: both
		overflow: hidden
		.header-left
			height: .65rem
			float: left
			text-align: center
		.header-input
			flex: 1
			height: .64rem
			line-height: .64rem
			margin-top: .12rem
			margin-left:.2rem
			padding-left: .2rem
			background: #fff
			border-radius: .1rem
			color: #ccc
		.header-right
			width: 1.25rem
			float: right
			text-align: center
</style>
	

